

<h1>Dobrodosli na stranicu <?=$title?></h1>

<?php 
echo "<div style='width:400px; text-align:right;' >";


echo form_open($content_url.'users/find_users','accept-charset="utf-8"'); //pocetak forme

//Atributi labele
$attrib = array(
			'class' => 'labela',
			'style' => 'width:150px;'
				 );

// Ime:
echo form_label("Ime:","firstname",$attrib);


$atr_ime = array(
			'name'        => 'firstname',
            'id'          => 'firstname',
            'maxlength'   => '30',
            'class'       => 'unos',
			'value'		  => set_value('firstname')
				);
echo form_input($atr_ime);


echo "<div class='linija'></div>";

//Prezime:
echo form_label("Prezime:","lastname",$attrib);
$atr_ime = array(
			'name'        => 'lastname',
            'id'          => 'lastname',
            'maxlength'   => '50',
            'class'       => 'unos',
            'value'		  => set_value('lastname')
				);
echo form_input($atr_ime);

echo "<div class='linija'></div>";


//Korisnicko ime:
echo form_label("Username:","username",$attrib);
$atr_ime = array(
			'name'        => 'username',
            'id'          => 'username',
            'maxlength'   => '255',
            'class'       => 'unos',
			'value'		  => set_value('username')
				);
echo form_input($atr_ime);

echo "<div class='linija'></div>";

//E-mail:
echo form_label("E-mail:","e_mail",$attrib);
$atr_ime = array(
			'name'        => 'e_mail',
            'id'          => 'e_mail',
            'maxlength'   => '255',
            'class'       => 'unos',
            'value'		  => set_value('e_mail')
				);
echo form_input($atr_ime);

echo "<div class='linija'></div>";


$atr_ime = array(
			'name'        => 'reset',
            'id'          => 'reset',
            'class'       => 'dugme',
				);
echo form_reset($atr_ime,"Poništi");

$atr_ime = array(
			'name'        => 'find',
            'id'          => 'find',
            'class'       => 'dugme'
				);
echo " &nbsp; ";
echo form_submit($atr_ime,"Pronadji");

echo form_close();

echo "</div>";
?>
<p><a href="<?=$content_url?>users">< Vrati se na spisak korisnika</a></p>

